package com.CuiChangHe.studentmanager.controller;

import com.CuiChangHe.studentmanager.entity.studentexaminfo.StudentExamInfoReturnMsg;
import com.CuiChangHe.studentmanager.service.studentexaminfo.StudentExamInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description :学生成绩信息Controller
 * @Author :崔昌赫
 * @Date : 2021/11/19
 */
@RestController
public class StudentExamInfoController {

    private StudentExamInfoService service;

    @Autowired
    public void setService(StudentExamInfoService service) {
        this.service = service;
    }

    @GetMapping("/exam/get/all")
    StudentExamInfoReturnMsg getAllStudentExamInfo(){
        return service.getAllStudentExamInfo();
    }
}
